﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Wap/Web/WebSite.Master" AutoEventWireup="true" CodeBehind="FormDisplay.aspx.cs" Inherits="ZLCMS.Web.Wap.Web.FormDisplay" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title><%=FormDef.Title%></title>
    <link href="/Wap/lib/validator-0.7.0/css/jquery.validator.css" rel="stylesheet" type="text/css" />
    <script src="/Wap/lib/command/Command.js" type="text/javascript"></script>
    <script src="/Wap/lib/jquery/jquery.json-2.2.min.js" type="text/javascript"></script>
    <script src="/Wap/lib/validator-0.7.0/jquery.validator.js" type="text/javascript"></script>
    <script src="/Wap/lib/validator-0.7.0/local/zh_CN.js" type="text/javascript"></script>
    
	<link href="/wap/lib/jquerymobile_datepicker/css/datepicker.css" rel="stylesheet" type="text/css" />
    <script src="/wap/lib/jquerymobile_datepicker/js/bootstrap-datepicker.js" type="text/javascript"></script>

<script type="text/javascript" src="/wap/lib/common/formdisplay.js?ver=1.0"></script>
<style type="text/css">
    <%=FormDef.FormStyle%>
    #myform .ui-select option, #myform .ui-select span{ white-space: normal;}
    #myform label{font-size:12px; color: #666;}
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="header" runat="server">
<div data-role="header" >
 <div style="text-align: center; "><%--<img style=" display:block; float:left; width:100%" src="images/logo2.png" />--%></div>
 <%--   <button class="ui-btn-right ui-btn ui-btn-b ui-btn-inline ui-mini ui-corner-all ui-btn-icon-right ui-icon-check" onclick="submitForm($('#myform'))">提交
</button>--%>

</div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="main" runat="server">
   
<div data-role="main" class="ui-content">
  <div  style="margin-bottom:10px; font-size: 14px; color: #666;">
<%if (!string.IsNullOrEmpty(FormDef.Content))
  { %>
 
 <%=FormDef.Content%>
  <%} %>
  </div>
<form id="myform" form_id="<%=Request["formid"] %>" return_url="<%=FormDef.SubmitReturn%>">
</form>
<br />
<button id="btApply" data-theme="b" style=" background:#e67a18; border:none; text-shadow:none;" onclick="submitForm($('#myform'))">提交
</button>
<%--<div id="console"></div>--%>
</div>

<script type="text/javascript">
    displayForm($('#myform'),<%=JsonData %>);


</script>

<%@ Import Namespace ="ZLCMS.Business.Util" %>

</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="footer" runat="server">
</asp:Content>
